package com.xiaoy.util.page;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class FormInfo {

	private String tablename;
	
//	private List<PropertyField>fields = new ArrayList<PropertyField>();
	
	private Map<String,Object>processParams = new HashMap<String, Object>();	// 流程参数
	private Map<String,Object>formFields = new  HashMap<String, Object>();		// 数据库表的列和值
	
	
	public String getTablename() {
		return tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}

	
//	public void addFields(PropertyField field) {
//		fields.add(field);
//	}

	/////////////////////////////////////////////////////////////////
	public Map<String, Object> getFormFields() {
		return formFields;
	}

	public void setFormFields(Map<String, Object> formFields) {
		this.formFields = formFields;
	}
	
	public void addFormFields(String key,Object value){
		this.formFields.put(key, value);
	}
	//////////////////////////////////////////////////////////////////
	public Map<String, Object> getProcessParams() {
		return processParams;
	}

	public void setProcessParams(Map<String, Object> processParams) {
		this.processParams = processParams;
	}
	
	public void addProcessParams(String key,Object value) {
		this.processParams.put(key, value);
	}
	//////////////////////////////////////
}
